// 所有接口的服务层

import {axios,get,post} from "@/utils/axios"

// /*
// 获取验证码
// */ 
// export const getcsrftoken = params => get("/vue/gettoken",params);

/*
登录
*/ 
export const signinAjax = params => post("/vue/signin",params);

/*
首页轮播图  gethomebanner
*/ 
export const gethomebanner = params => post("/vue/gethomebanner",params);


/*
注册
*/ 
export const registerAjax = params => post("/vue/register",params);

/*
获取个人信息
*/ 
export const getuserinfo = params => post("/vue/getuserinfo",params);

/*
添加用户 adduser
*/ 
export const getadduser = params => post("/vue/adduser",params);

/*
用户列表渲染 getuserlist
*/
export const getuserlist = params => post("/vue/getuserlist",params);

/*
删除用户 deluser
*/
export const deluserAjax = params => post("/vue/deluser",params);

/*
編輯修改信息 updateuserone
*/
export const updateuserone = params => post("/vue/updateuserone",params);

/*
添加体温 addtiwen
*/
export const addtiwenAjax= params => post("/vue/addtiwen",params);

/*
我的体温列表 mytiwenlist
*/
export const mytiwenlist= params => post("/vue/mytiwenlist",params);

/*
删除体温的某一条数据 delOnelist
*/
export const delOnelistAjax= params => post("/vue/delOnelist",params);

/*
修改的某一条数据 updatetiwenone
*/
export const updatetiwenone= params => post("/vue/updatetiwenone",params);

/*
是否做了核酸检测 updateishei
*/
export const updateishei= params => post("/vue/updateishei",params);

/*
核酸检测结果 updateisyin
*/
export const updateisyin= params => post("/vue/updateisyin",params);


/*
添加意见提交 addadvise
*/
export const addadvise= params => post("/vue/addadvise",params);



/*
意见列表 getadviselist
*/
export const getadviselist= params => post("/vue/getadviselist",params);

/*
   删除意见
*/

export const delAdviseOne= params => post("/vue/delAdviseOne",params);

/*
   意见详情
*/

export const getadvisebyid= params => post("/vue/getadvisebyid",params);

/*
    修改意见详情
*/
export const updateadvisebyid= params => post("/vue/updateadvisebyid",params);
/*
    回复
*/
export const addreply= params => post("/vue/addreply",params);

/*
goodlist 商品列表
*/ 
export const getgoodlist = params => post("/vue/goodlist",params);


/*
goodlist 商品分类
*/ 
export const getgoodtypelist = params => post("/vue/goodtypelist",params);



/*
getgoodone 商品详情
*/ 
export const getgoodone = params => post("/vue/getgoodone",params);



/*
addtocart 添加购物车 
*/ 
export const addtocartajax = params => post("/vue/addtocart",params);


/*
getmycart 我的购物车 
*/ 
export const getmycart = params => post("/vue/getmycart",params);


/*
changecartcount 修改数量
*/ 
export const changecartcount = params => post("/vue/changecartcount",params);


/*
changecartcount 修改选中
*/ 
export const changecartcheck = params => post("/vue/changecartcheck",params);


/*
delcartone 删除
*/ 
export const delcartone = params => post("/vue/delcartone",params);


/*
delcartcheck 批量删除
*/ 
export const delcartcheck = params => post("/vue/delcartcheck",params);


/*
uploadpic 上传头像
*/
export const uploadpic = params => post("/vue/uploadpic",params);






